package demo11;
/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 86183
 */
public class Cat extends Animal {
    public Cat(String name, int age) {
        super(name, age);
    }
    public void jumping(){
        System.out.println(this.name +"正在跳");
    }
    @Override
    public void eat() {
        System.out.println(this.name + "正在吃猫粮");
    }
}
